package com.store.practice.mapper;

import com.store.practice.model.BgDepartment;
import com.store.practice.model.BgDepartmentExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface BgDepartmentMapper {
    long countByExample(BgDepartmentExample example);

    int deleteByExample(BgDepartmentExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(BgDepartment record);

    int insertSelective(BgDepartment record);

    List<BgDepartment> selectByExample(BgDepartmentExample example);

    BgDepartment selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") BgDepartment record, @Param("example") BgDepartmentExample example);

    int updateByExample(@Param("record") BgDepartment record, @Param("example") BgDepartmentExample example);

    int updateByPrimaryKeySelective(BgDepartment record);

    int updateByPrimaryKey(BgDepartment record);
}